package demo1;

public class Test {
    public static void main(String[] args) {
        LogIn logIn=new LogIn();
        try {
            logIn.login("baibai",2);
        }catch (NameErrorException e) {
            e.printStackTrace();
        }catch (AgeErrorException e) {
            e.printStackTrace();
        }
        System.out.println("程序继续执行...");
    }

    }

